package com.nisco.dms.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.apache.commons.lang3.builder.ToStringBuilder;
@Entity
@Table(name="Ds_Role_Permission")
public class RolePermission extends CoreEntity
{
	@Column
	private String strSn;
	@Column
	private String roleId;
	@Column
	private String strPermission;

	public String getStrSn()
	{
		return strSn;
	}

	public void setStrSn(String strSn)
	{
		this.strSn = strSn;
	}

	public String getRoleId()
	{
		return roleId;
	}

	public void setRoleId(String roleId)
	{
		this.roleId = roleId;
	}

	public String getStrPermission()
	{
		return strPermission;
	}

	public void setStrPermission(String strPermission)
	{
		this.strPermission = strPermission;
	}
	/**
	 * reflectionToString将对象输出为string类型。
	 */
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
	
}
